package com.mlnx.work;

import org.mybatis.spring.annotation.MapperScan;
import org.shan.security.app.EnableSecurityApp;
import org.shan.spring.cache.annotation.EnableJ2Cache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by amanda.shan on 2020/5/18.
 */
@SpringBootApplication(scanBasePackages = {"org.shan", "com.mlnx"})
@EnableScheduling
@MapperScan(basePackages = {"com.mlnx.work.dao.mysql"})
@EnableSecurityApp
@EnableWebSecurity(debug = false)
@EnableTransactionManagement
public class WorkApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorkApplication.class, args);
    }


}
